package com.test.creat;

public class test {
    public static void main(String[] args) {
        //先执行父类的无参构造再执行子类的无参构造
        son s = new son();
        father f = new son();

    }
}
